<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@page import="java.util.*,model.News,com.et.mvc.JsonView"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>新闻内容</title>

</head>
<body>
<style>
body {
	color: #333
}

em {
	font-style: normal
}

.area {
	width: 980px
}

.pp li {
	float: left;
	display: inline
}

.pp img,.pt div img {
	border: 1px #E8E8E8 solid
}

a {
	color: #004276
}

a:hover {
	color: #C00
}

.blank5,.blank8 {
	clear: both
}

/* a */
#contentA {
	margin: 0 auto 13px;
	background-position: 0 0;
	border-bottom: 1px #AFC5DB solid
}

#contentA .left {
	/*width: 676px*/
}

#contentA .right {
	/*width: 300px;*/
	margin-right: 2px
}

#contentA .left h2 span a {
	color: #333
}

/* 文章标题 */
#contentA h1 {
	padding: 10px 0 15px;
	color: #333;
	font-size: 26px;
	font-weight: bold;
	line-height: 38px;
	text-align:center;
}

/* 来源 时间 */
#contentA .sourceTime {
	/*width: 615px;*/
	height: 22px;
	margin: 0 auto;
	color: #999;
	text-align: left;
	line-height: 20px;
	border-bottom: 1px #AFC5DB solid
}

#contentA .sourceTime .l {
	/*width: 488px;*/
}

#contentA .sourceTime .l img {
	float: left;
	margin-right: 12px
}

#contentA .sourceTime .l a {
	color: #999;
	text-decoration: none;
	cursor: default
}

#contentA .sourceTime .r {
	width: 156px;
	float: right
}

#contentA .left .line {
	width: 91%;
	float: right
}

/* 正文 */
#contentA .text {
	width: 615px;
	margin: 0 auto;
	text-align: left;
	line-height: 24px;
	font-size: 14px
}

#contentA .text .funPage {
	margin: 0 auto 24px
}

#contentA .text p {
	padding-left: 6px;
	margin: 24px auto 0
}

#contentA .text p a {
	text-decoration: underline
}

#contentA .text .editer {
	color: #666;
	font-size: 12px
}

#contentA .text .video span {
	display: block;
	margin-top: 8px;
	font-size: 14px;
	line-height: 16px;
}

#contentA .text .digEye {
	margin: 30px auto 30px;
	text-align: center
}
</style>
<%
	String newsId = request.getParameter("newsId");
	News news = new News().getNewsById(newsId);
	
%>

<div id="contentA" class="area">
<div class="left">
<h1>
<%
	out.println(news.getTitle());
%>
</h1>
<div class="editer" style="text-align: center">(发稿人：<%
	out.println(news.getAuthor());
%>)</div>
<!-- 来源 时间 st -->
<div class="sourceTime">
<div class="r">
<%
	out.println(news.getTime());
%>
</div>
</div>
<!-- 来源 时间 end -->
<div class="line"></div>

<!-- 正文 st -->
<div class="text clear" id="contentText">
<%
	out.println(news.getContent());
%>
</div>
<!-- 正文 end -->
</div>
</div>
</body>
</html>
